<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>修改车辆驾驶员信息</title>
    <link rel="stylesheet" href="<%=basePath%>ext3.4/resources/css/ext-all.css" type="text/css"></link>
<script type="text/javascript" src="<%=basePath%>ext3.4/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="<%=basePath%>ext3.4/ext-all.js"></script>
<script type="text/javascript" src="<%=basePath%>ext3.4/src/locale/ext-lang-zh_CN.js"></script>
<style type="text/css">
	h4{ background:#00afb9; color:#fff; padding-left:15px; line-height:30px; width:490px;}
   	.d_t td{font-size:14px; text-align:left; color:#555; padding-bottom:8px;}
   	.d_t th{font-size:14px; text-align:right; color:#555; padding-bottom:8px;}
	.d_t input{ height:26px;}
	.t_r{padding-left:15px;}
	.btn_1{ width:112px; height:32px; background:url(btn_1.gif) no-repeat 0 0; border:none; font-weight:bold; color:#fff; font-size:14px; margin-top:15px;}
	.btn_1:hover{ background:url(btn_1.gif) no-repeat 0 -33px;}	
	p{text-align:center;}
</style>
  </head>
  <body>
  <h4>修改车辆驾驶员信息</h4>
    <form action="carInfo/editCarDriverInfo.action" method="post" enctype="multipart/form-data">
   <input type="hidden" name="id" value="${carDriver.id}"/>
   <input type="hidden" name="uid" value="${carDriver.uid}"/>
   	<table  class="d_t">
   	<tr> <th>姓名:</th><td><input type="text" name="driverName" value="${carDriver.driverName}"/></td> <th class="t_r">照片:</th><td><input type="file" name="image" /><img alt="这是图片" height="50" width="50" src="${carDriver.relativePhotoPath}"/></td> </tr>
   	<tr> <th>身份证号:</th><td><input type="text" name="idCard" value="${carDriver.idCard}"/></td> <th class="t_r">住所:</th><td><input type="text" name="address" value="${carDriver.address}"/></td> </tr>
   	<tr> <th>电话:</th><td><input type="text" name="telphone" value="${carDriver.telphone}"/></td> <th class="t_r">驾驶证号:</th><td><input type="text" name="drivingLicenceNum" value="${carDriver.drivingLicenceNum}"/></td> </tr>
   	<tr> <th>准驾证号:</th><td><input type="text" name="drivingPermitNum" value="${carDriver.drivingPermitNum}"/></td>  <th class="t_r">准驾车型:</th><td><input type="text" name="drivingPermitType" value="${carDriver.drivingPermitType}"/></td> </tr>
   	<tr> <th>准驾该车时间:</th><td><input type="text" name="drivingPermitDate" value="${carDriver.drivingPermitDate}"/></td> <th  class="t_r">驾驶期限:</th><td><input type="text" style="width:40px;" maxlength="4" name="quasiDriverYear" value="${carDriver.quasiDriverYear}"/>&nbsp;&nbsp;&nbsp;&nbsp;到&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" style="width:40px;" maxlength="4" name="quasiDriverYear02" value="${carDriver.quasiDriverYear02}"/>年</td> </tr>
   	<tr><td colspan="4" style=" text-align:center"><input type="submit" value="提交" class="btn_1"/></td></tr>
   </table>
   </form>
  </body>
</html>
